package org.jeecg.modules.storage.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.storage.entity.BussProductStorageDetail;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 成品入库单
 * @Author: jeecg-boot
 * @Date:   2024-07-23
 * @Version: V1.0
 */
@Data
@ApiModel(value="buss_product_storagePage对象", description="成品入库单")
public class BussProductStoragePage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**单号*/
	@Excel(name = "单号", width = 15)
	@ApiModelProperty(value = "单号")
    private String code;
	/**业务节点*/
	@Excel(name = "业务节点", width = 15)
	@ApiModelProperty(value = "业务节点")
    private String businessNode;
	/**物料大类*/
	@Excel(name = "物料大类", width = 15)
	@ApiModelProperty(value = "物料大类")
    private String materialTypeName;
	/**物料大类*/
	@Excel(name = "物料大类", width = 15)
	@ApiModelProperty(value = "物料大类")
    private String materialTypeCode;
	/**业务类型*/
	@Excel(name = "业务类型", width = 15)
	@ApiModelProperty(value = "业务类型")
    private String businessType;
	/**仓库*/
	@Excel(name = "仓库", width = 15)
	@ApiModelProperty(value = "仓库")
    private String warehouseId;
	/**上级单号*/
	@Excel(name = "上级单号", width = 15)
	@ApiModelProperty(value = "上级单号")
    private String superiorCode;
	/**入库日期*/
	@Excel(name = "入库日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "入库日期")
    private Date storageDate;
	/**经办人员*/
	@Excel(name = "经办人员", width = 15)
	@ApiModelProperty(value = "经办人员")
    private String handlingPersonnelId;
	/**经办人员*/
	@Excel(name = "经办人员", width = 15)
	@ApiModelProperty(value = "经办人员")
    private String handlingPersonnel;
	/**批次号*/
	@Excel(name = "批次号", width = 15)
	@ApiModelProperty(value = "批次号")
    private String lotNumber;
	/**生产车间*/
	@Excel(name = "生产车间", width = 15)
	@ApiModelProperty(value = "生产车间")
    private String workshop;
	/**日志时间*/
	@Excel(name = "日志时间", width = 15)
	@ApiModelProperty(value = "日志时间")
    private String logtime;
	/**状态*/
	@Excel(name = "状态", width = 15)
	@ApiModelProperty(value = "状态")
    private Integer status;

	@ExcelCollection(name="成品入库单明细")
	@ApiModelProperty(value = "成品入库单明细")
	private List<BussProductStorageDetail> bussProductStorageDetailList;

	@ApiModelProperty(value = "是否打印")
	private Integer isPrinted;

}
